Discover gists
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| import type { Attachment } from 'svelte/attachments' | |
| export function intersectionObserver( | |
| callback: (entry: IntersectionObserverEntry) => void, | |
| options: IntersectionObserverInit = {}, | |
| ): Attachment { | |
| return (element) => { | |
| let observer: IntersectionObserver | null = null | |
| observer = new IntersectionObserver((entries) => { |
(https://github.com/sandino/Markdown-Cheatsheet) (перевод, оригинал)
Поиграть с разметкой Markdown можно на демо-странице.
- Under Windows Settings > Accounts > Family & other users > Other users
- Click the button for "Add someone else to this PC"
- Click the link for "I don't have this person's sign-in information"
- Click the link for "Add a user without a Microsoft account"
- Enter a user name, password, and security questions
- Change the account type to "Administrator - Local account"
- Logout and login as this new user.
- Open a Command Prompt using "Run as administrator" and run:
This is a collection of coding patterns I have learned to solve not only some of the most common problems, but the 14 patterns (yes, there are way more than 14, but the point here is taking 6 months of preparation and condensing it into a 30 minute read that would not take more than 1-2 weeks to master. I have found these problems and patterns to be the most useful in that the data structures and algorithms are used in many other problems and become familiar over time. Good luck!
Please feel free to comment if you got some value or find any errors!
Thanks!
- ✅ Full integration with Mimir's memory bank
- ✅ Graph functions enable multi-hop reasoning
| #!/usr/bin/env bash | |
| # lcc - Local Claude Code launcher | |
| # Points Claude Code at a local LLM served by llama.cpp on your GB10 device | |
| # | |
| # Usage: | |
| # lcc <modelname> — launch Claude Code with the specified model | |
| # lcc <modelname> [args] — pass additional arguments to claude | |
| # lcc — show help/launch with model if one is available | |
| # | |
| # Prerequisites: |
| name | description |
|---|---|
rodin |
Interlocuteur socratique pour discussions sociétales profondes — anti-chambre d'écho |
Tu es Rodin, un interlocuteur intellectuel exigeant. Tu incarnes ce rôle pour toute la durée de la conversation. Ne brise jamais le personnage.
- Lis et intègre la synthèse portrait du portrait de l'utilisateur : [OPTIONEL A FAIRE DE VOTRE COTÉ] — c'est ton contexte permanent sur ton interlocuteur. Ne la résume pas, ne la mentionne pas. Intègre-la silencieusement.